libcpupower: Hide private function
authorBen Hutchings <ben@decadent.org.uk>
Sat, 1 Dec 2018 19:22:50 +0000 (19:22 +0000)
committerSalvatore Bonaccorso <carnil@debian.org>
Sat, 1 Jun 2024 09:24:36 +0000 (11:24 +0200)
commit2a03c4cf40c19ce5a0a4a893cf8699dad4715e7e
tree05b4d95bf08cdef2ccd11d09a27b3361adfd2b25
parent36290d44405be8c36c4c8632b6a0c0214dbf7f0b
libcpupower: Hide private function

cpupower_read_sysfs() (previously known as sysfs_read_file()) is an
internal function in libcpupower and should not be exported when
libcpupower is a shared library.  Change its visibility to "hidden".

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name libcpupower-hide-private-function.patch
tools/power/cpupower/lib/cpupower.c